import type { IWorkbookData } from '@univerjs/presets'

export const WORKBOOK_DATA: Partial<IWorkbookData> = {
  id: 'xf_VBt',
  sheetOrder: [
    'SHh40QNCykVZr7CbKqQdv',
  ],
  name: '',
  styles: {
    '9vlA-A': {
      ff: 'Arial',
      fs: 11,
      it: 0,
      bl: 0,
      ul: {
        s: 0,
      },
      st: {
        s: 0,
      },
      ol: {
        s: 0,
      },
      tr: {
        a: 0,
      },
      td: 0,
      ht: 0,
      vt: 0,
      tb: 0,
      pd: {
        t: 0,
        b: 2,
        l: 2,
        r: 2,
      },
    },
  },
  sheets: {
    SHh40QNCykVZr7CbKqQdv: {
      id: 'SHh40QNCykVZr7CbKqQdv',
      name: 'Sheet1',
      tabColor: '',
      hidden: 0,
      rowCount: 1000,
      columnCount: 20,
      zoomRatio: 1,
      freeze: {
        xSplit: 0,
        ySplit: 0,
        startRow: -1,
        startColumn: -1,
      },
      scrollTop: 0,
      scrollLeft: 0,
      defaultColumnWidth: 88,
      defaultRowHeight: 24,
      mergeData: [],
      cellData: {
      },
      rowData: {},
      columnData: {},
      showGridlines: 1,
      rowHeader: {
        width: 46,
        hidden: 0,
      },
      columnHeader: {
        height: 20,
        hidden: 0,
      },
      rightToLeft: 0,
    },
  },
  resources: [
    {
      name: 'SHEET_RANGE_PROTECTION_PLUGIN',
      data: '',
    },
    {
      name: 'SHEET_AuthzIoMockService_PLUGIN',
      data: '{}',
    },
    {
      name: 'SHEET_WORKSHEET_PROTECTION_PLUGIN',
      data: '{}',
    },
    {
      name: 'SHEET_WORKSHEET_PROTECTION_POINT_PLUGIN',
      data: '{}',
    },
    {
      name: 'SHEET_DRAWING_PLUGIN',
      data: '{"SHh40QNCykVZr7CbKqQdv":{"data":{"7vem6g":{"unitId":"xf_VBt","subUnitId":"SHh40QNCykVZr7CbKqQdv","drawingId":"7vem6g","drawingType":0,"imageSourceType":"BASE64","source":"","sheetTransform":{"flipY":false,"flipX":false,"angle":0,"skewX":0,"skewY":0,"from":{"column":1,"columnOffset":2.4,"row":1,"rowOffset":3.9},"to":{"column":5,"columnOffset":1.5,"row":10,"rowOffset":7.3}},"transform":{"flipY":false,"flipX":false,"angle":0,"skewX":0,"skewY":0,"left":136.4,"top":47.9,"width":351.1,"height":219.4}}},"order":["7vem6g"]}}',
    },
    {
      name: 'SHEET_DEFINED_NAME_PLUGIN',
      data: '',
    },
    {
      name: 'SHEET_RANGE_THEME_MODEL_PLUGIN',
      data: '{}',
    },
  ],
}
